Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development


Adding your manager to the session types

Start your manager with one of the framework’s session types by adding to the list of that Session Type’s Required Managers.

To add your manager to the list of that Session Type’s Required Managers:

  1. Open the Session Type Control window from the Session menu, as shown:
  2. You can either create new session types to define different configurations for the client or server or add your manager to more session types. To add the Test Manager to the Default Session Type, select the Default Session Type, select the Edit button, and select the Required Managers tab. The list of session manager procedures appears, as shown:

There are some special things to note about the list of managers:

Because managers run explicitly on client or server, you must specify the correct name of the client-side or server-side manager procedure when you add it to the session. You can see from the list of managers for the default session, for example, that because it runs as a stand-alone session, without the AppServer (and therefore without a separate client session), it runs the server versions of the managers.

A client-side Session Type, by contrast, such as the ICFRuntime session, runs the client-side procedures, as shown:

You are now ready to add a manager.

To add your manager once you have selected the Session Type:

  1. Select the Manager tab from the Session Type Maintenance folder.
  2. Select the Add button inside the tab folder to add your manager to the Session, as shown:
  3. Select Test Manager from the pre-populated list of Manager Type lookup.
  4. Enter the Object Filename, which is either the client procedure or the server procedure. Note that you do not have to specify a path to the procedure, because it has already been registered in the Repository, so the Configuration File Manager will be able to locate it from its description as stored in the Repository.
  5. Enter the next available Startup Order sequence for the manager.
  6. Check the System Owned toggle box on if you want only users with System authorization to be able to modify its information.
  7. Choose File Save to add your manager to the list, and close the Session Type Maintenance window.
  8. The description of your manager is now in the Repository, but in order for it to be found when the session starts up, you must add the same information to the XML configuration file that all sessions read in when they start up.

  9. Return to the Session Type Control window and select Option Generate Configuration File to rebuild the XML file from the Repository data, as shown:
  10. At the prompt, enter the name of the configuration file, and choose either Local File or Remote File, depending on whether the file is local to your machine or remote. The default file is icfconfig.xml, in the src directory where your Progress Dynamics code was installed. Move the file to another location in your application’s ProPath if you are going to modify it.
  11. After setting the Filename, choose Generate, as shown:
  12. The generated configuration file appears, as shown:

    This file contains the information for the Test Manager added to the Default session (a number of nodes in the XML information are not expanded here, so that you only see what has been added).


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095